*************** 
DESCRIPTION
***************

This text file describes the replication data and code for this project.
To be as transparent as possible, all data processing code is included alongside
all analyses reproducing figures and tables in the paper and appendix. This means
that this folder contains code for the entire course of the research process:
from raw data to final figures. Unfortunately, including the raw 911 call data and ancillary
files (e.g. shapefiles and census data used in merging) requires that this
replication repository is large and contains many files.

There are two folders in this directory: STATA CODE and R CODE. Their contents are
described below. Please reach out to mzoorob@g.harvard.edu with any questions or concerns!


***************
STATA CODE
***************

policebrutality_replication_zoorob2019.do

Produces data included in Table 1 and Table A3.
Produces parameter z-statistics plotted in Figure 2.
Produces parameter z-statistics plotted in Figure C1.
Produces top row of Figure 3 and associated analyses (F-tests) in text.


*************** 
R CODE
***************

burglarycalls.R

Produces three plots on right side of Figure 5 and produces all plots in Figure A1.
Produces Table A2.

judeprocessing_final.R

Produces Figure 1 and bottom row of Figure 3.

newyearseve.R

Produces content found in Table A1.

*joincallstocbg.R

There are 8 files structured like this -- one for each city.
Each produces a plot in Figure 4. 
Baltimore file also produces left-hand side of Figure 5.

plot_modelpars_weeks_final.R

Reads in estimates produced in policebrutality_replication_zoorob2019.do from spreadsheets
Produces Figure 2 and produces Figure C1.

Rcode/CallsData

Folder contains raw 911 calls for each of the 8 cities (Baltimore, Cincinnati,
Los Angeles, Nashville, New Orleans, Hartford, Sacramento, and Seattle).
Rcode/cityshapefiles

Folder contains shapefiles with census block groups for each city, police beat shapefiles
for Hartford and Seattle, and demographic information.

Rcode/Figures

This folder is where R scripts save figure files.

Rcode/otherdata

This folder contains a .dta version of the Desmond et. al 2016 Replication data as
well as some outputs from policebrutality_replication_zoorob2019.do that are used 
to make the plots in Figure 2 and Figure C1.